//
//  AnimationClass.h
//  TasteTapHero
//
//  Created by Shin Stupid on 5/3/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "cocos2d.h"
@interface AnimationClass : CCSprite
{
    NSString* _textureName;
    int nFrame;
	float fTimer;
	NSString *tagFile;
	int _iTag;

}
@property(nonatomic)int _iTag;
-(id)initWithParent: (CCLayer*)parentLayer withZ:(int)iZ;
-(CCAnimation *)createAnimationFrom:(int)iFrom To:(int)iTo andDeylayTime:(float)fDelayTime andNumberFrame:(int)iFrame;
-(id)createAnimation;
-(id)createAnimationOneTime;
@end
